// 导入request, 用于发送axios请求
import request from '@/utils/request'

/**
 * 获取医生分类列表, 分页查询
 */
export const doctorClassifyListAPI = (data) =>
  request.get('/doctorClassify/list', {
    params: data
  })

/**
 * 获取全部医生分类列表
 */
export const doctorClassifyAllListAPI = () =>
  request.get('/doctorClassify/allList')

/**
 * 新增医生分类
 */
export const doctorClassifySaveAPI = (data) =>
  request.post('/doctorClassify/save', data)

/**
 * 根据id删除医生分类
 */
export const doctorClassifyDeleteAPI = (id) =>
  request.delete(`/doctorClassify/delete/${id}`)
